﻿<%@ Page Language="C#" MasterPageFile="~/BluePortalMaster.Master" AutoEventWireup="true" CodeBehind="UploadPhoto.aspx.cs" Inherits="BluePortal.QuikStart.UploadPhoto" Title="Upload Photo" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="UserControls/AddTag.ascx" TagName="AddTag" TagPrefix="uc2" %>
<%@ Register Src="UserControls/AddCategory.ascx" TagName="AddCategory" TagPrefix="uc3" %>
<%@ Register assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI.WebControls" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="DefaultContent" runat="server">
    <asp:Panel ID="PanelUploadFile" runat="server" CssClass="drawer" style="width:80%">
        <h1>
            Photo Upload</h1>
        <div id="fileUploadDiv" class="drawer-content">
            <br/>
            Title : <asp:TextBox ID="tboxTitle" runat="server" />            
            <br />
            Description : <asp:TextBox ID="tboxDescription" runat="server" />
            <br />
            <asp:FileUpload ID="fileupload1" runat="server"  />
            <br />
            <asp:Button ID="btnUpload" Text="Submit" runat="server"  />
        </div>        
    </asp:Panel>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" >
        <ContentTemplate>
            <div class="drawer">
                <h1>
                    Tag</h1>
                <div class="drawer-content">
                    <uc2:AddTag ID="AddTagVideo1" runat="server" Visible="false" />
                </div>
            </div>
            <div class="drawer">
                <h1>
                    Categories</h1>
                <div class="drawer-content">
                    <uc3:AddCategory ID="AddCategory1" runat="server" Visible="false" />
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
